/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.monopoly.comunicazione;

import java.util.ArrayList;

/**
 *
 * @author Administrator
 */
public class Parametri<T> extends ArrayList<T>{
    public Parametri(){
        super();
    }

    public String get(String s){
        Elemento e = null;
        for(int i = 0; i < size(); i++){
            e = (Elemento)get(i);
            if(s.equals(e.getA()))
                return e.getB();
        }
        return null;
    }
}
